Thrift\Protocol\TJSONProtocol D

Total Complexity 148
Dependencies 7
Dependents 3
Total lines 658
Lines of code 464
Logical lines of code 287
Comment lines 43
Methods 67
Properties 7

Methods 67

Method Rating Maintainability Complexity Lines of code
getTypeIDForTypeName()
B
43 16 50
isJSONNumeric()
A
54 16 21
getTypeNameForTypeID()
A
51 12 28
readJSONString()
A
54 8 22
readJSONDouble()
S
55 6 20
hexVal()
S
62 6 9
writeJSONString()
S
65 5 10
readJSONIntegerAsString()
S
60 4 14
readJSONInteger()
S
60 4 14
readJSONNumericChars()
S
63 3 11
writeJSONInteger()
S
66 3 10
writeJSONDouble()
S
65 3 10
readFieldBegin()
S
62 2 11
readJSONBase64()
S
66 2 8
readI64()
S
67 2 8
readMessageBegin()
S
63 2 10
writeBool()
S
79 2 3
readJSONSyntaxChar()
S
69 2 6
readBool()
S
75 2 4
readDouble()
S
76 1 4
writeDouble()
S
81 1 3
writeString()
S
81 1 3
writeI64()
S
81 1 3
writeI32()
S
81 1 3
writeI16()
S
81 1 3
readMessageEnd()
S
82 1 3
readStructBegin()
S
77 1 4
readMapEnd()
S
78 1 4
readStructEnd()
S
82 1 3
readFieldEnd()
S
82 1 3
readMapBegin()
S
69 1 7
readI32()
S
76 1 4
readI16()
S
76 1 4
readByte()
S
76 1 4
readListBegin()
S
70 1 6
readListEnd()
S
82 1 3
readSetBegin()
S
70 1 6
readSetEnd()
S
82 1 3
writeByte()
S
81 1 3
writeFieldEnd()
S
82 1 3
writeSetEnd()
S
82 1 3
readJSONObjectEnd()
S
77 1 4
pushContext()
S
76 1 4
popContext()
S
80 1 3
__construct()
S
72 1 5
reset()
S
73 1 5
hexChar()
S
80 1 3
writeJSONBase64()
S
71 1 6
writeJSONObjectStart()
S
73 1 5
writeJSONObjectEnd()
S
77 1 4
writeJSONArrayStart()
S
73 1 5
writeJSONArrayEnd()
S
77 1 4
readJSONObjectStart()
S
73 1 5
readJSONArrayStart()
S
73 1 5
writeSetBegin()
S
73 1 5
readJSONArrayEnd()
S
77 1 4
writeMessageBegin()
S
69 1 7
writeMessageEnd()
S
82 1 3
writeStructBegin()
S
82 1 3
writeStructEnd()
S
82 1 3
writeFieldBegin()
S
73 1 5
writeFieldStop()
S
91 1 2
writeMapBegin()
S
69 1 7
writeMapEnd()
S
78 1 4
writeListBegin()
S
73 1 5
writeListEnd()
S
82 1 3
readString()
S
76 1 4